// queue-先进先出
let stack = []
stack.push(1)
stack.push(2)
const item1 = stack.shift()
const item2 = stack.shift()